export default {
    namespace: 'goods',
    state: [{title: '小明'}, {title: '小张'}],
    effects: {},
    reducers: {
        addGoods (state, action) {
            console.log('调用addGoods');
            return [...state, {title: action.payload.title}]
        }
    }
}